\documentclass[a4paper]{book}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage{ifthen}
\usepackage[table]{xcolor}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\else
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\usepackage{pspicture}
\fi
\usepackage[utf8]{inputenc}
\usepackage{polski}
\usepackage[T1]{fontenc}

\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{sectsty}
\usepackage[titles]{tocloft}
\usepackage{doxygen}
\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left }
\makeindex
\setcounter{tocdepth}{3}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\familydefault}{\sfdefault}
\begin{document}
\hypersetup{pageanchor=false}
\begin{titlepage}
\vspace*{7cm}
\begin{center}
{\Large HandRecognition \\[1ex]\large 1 }\\
\vspace*{1cm}
{\large Wygenerowano przez Doxygen 1.7.4}\\
\vspace*{0.5cm}
{\small Wed Feb 29 2012 13:37:29}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\pagenumbering{roman}
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}
\chapter{Indeks klas}
\input{annotated}
\chapter{Indeks plików}
\input{files}
\chapter{Dokumentacja klas}
\input{classBaseReader}
\input{classBaseWriter}
\input{classHandBiometricData}
\input{classHandRecognition}
\input{classMainWindow}
\input{classNewUserWindow}
\input{classPerson}
\input{classTestWindow}
\chapter{Dokumentacja plików}
\input{basereader_8h}
\input{basewriter_8h}
\input{handbiometricdata_8cpp}
\input{handbiometricdata_8h}
\input{handrecognition_8h}
\input{mainwindow_8cpp}
\input{mainwindow_8h}
\input{newuserwindow_8cpp}
\input{newuserwindow_8h}
\input{testwindow_8cpp}
\input{testwindow_8h}
\printindex
\end{document}
